/*
 * @Description: item的基类
 * @Author: ziwei.ma
 * @Date: 2019-06-26 16:27:47
 * @Last Modified by: ziwei.ma
 * @Last Modified time: 2019-06-26 18:39:35
 */

<template>
  <div class="list-left flex-h flex-vc">
    <span
      class="list-icon icon iconfont icon-chepiao"
      :class="option.ICONFONT"
      :style="option.COLOR"
    ></span>
    <span class="list-name fontsize28 flex1">{{option.NAME}}</span>
    <slot name="item-right"></slot>
  </div>
</template>

<script>
export default {
  props: {
    option: ''
  }
}
</script>

<style scoped>
.list-left {
  padding: 0 49px;
}
.list-icon {
  font-size: 40px;
  margin-right: 31px;
}
</style>
